package com.tgy.MyFlowable.workflow.listener;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.ExecutionListener;

public class CounterSignExectionListener implements ExecutionListener{

	private static final long serialVersionUID = 1L;

	@Override
	public void notify(DelegateExecution execution) {
		//设置初始的否决数为0
		execution.setVariable("rejected", 0);

	}

}
